package com.bt.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description TODO
 * @Author XJL
 * @Date 2023-05-05 10:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDateList2VO {
    @ApiModelProperty(value = "分类名")
    private String catename;

    @ApiModelProperty(value = "文章id")
    private Integer id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "作者的用户名， 用户发布的user-名称")
    private String author;

    @ApiModelProperty(value = "seo关键字")
    private String keywords;

    @ApiModelProperty(value = "seo的 描述")
    private String description;

    @ApiModelProperty(value = "文章的标签，可多个逗号分隔")
    private String tags;

    @ApiModelProperty(value = "0表示不推荐1表示推荐")
    private Integer ishot;

    @ApiModelProperty(value = "是否置顶，1是，0否，置顶的文章必须是推荐文章")
    private Integer istop;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Long createDate;

    @ApiModelProperty(value = "阅读次数")
    private Long click;

    @ApiModelProperty(value = "缩略图，可多张逗号分隔")
    private String pic;

    @ApiModelProperty(value = "收藏数量")
    private String lovenum;
}
